package com.ruoyi.client.fxiaoke.beans;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 员工信息
 * @author 官宇
 * @date 2020-05-18
 */
@Data
public class EmployeeVO implements Serializable {

    private static final long serialVersionUID = -2546602872872833513L;

    
    /**
     * openUserId(开放平台UserId)
     */
    private String openId;
    
    /**
     * 用户账号
     */
    private String account;
    
    /**
     * 用户昵称
     */
    private String nickName;
    
    /**
     * 用户姓名
     */
    private String name;
    
    /**
     * 员工状态，如果为true,则表示此员工离职，否则，该员工状态为在职
     */
    private boolean isStop;

    /**
     * 邮箱
     */
    private String email;


    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 性别
     */
    private String gender;
    
    /**
     * 职位
     */
    private String position;

    /**
     * 部门 多部门用,隔开如(部门1,部门2)
     */
    private String department;
    
    /**
     * 部门ID
     */
    private Integer deptId;
    
    /**
     * 员工编号
     */
    private String employeeNumber;
    
    /**
     * 员工主属部门ID
     */
    private Integer mainDepartmentId;
    
    /**
     * 员工附属部门ID列表
     */
    private List<Integer> attachingDepartmentIds;
    
    /**
     * 入职日期
     */
    private String hireDate;
    
    /**
     * 员工生日
     */
    private String birthDate;
    
    /**
     * 参加工作日期
     */
    private String startWorkDate;
    
    /**
     * 创建时间
     */
    private String createTime;
    
    /**
     * 汇报对象
     */
    private String leaderId;

	@Override
	public String toString() {
		return "EmployeeVO [openId=" + openId + ", account=" + account + ", nickName=" + nickName + ", name=" + name
				+ ", isStop=" + isStop + ", email=" + email + ", mobile=" + mobile + ", gender=" + gender
				+ ", position=" + position + ", department=" + department + ", deptId=" + deptId + ", employeeNumber="
				+ employeeNumber + ", mainDepartmentId=" + mainDepartmentId + ", attachingDepartmentIds="
				+ attachingDepartmentIds + ", hireDate=" + hireDate + ", birthDate=" + birthDate + ", startWorkDate="
				+ startWorkDate + ", createTime=" + createTime + ", leaderId=" + leaderId + "]";
	}

}
